package org.jsola.hr.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.jsola.core.dto.BaseDTO;

import javax.validation.constraints.NotNull;

/**
 * 全部合同页面删除批量删除合同需要的参数
 *
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "全部合同页面删除批量删除合同需要的参数")
@Data
public class EmpAllContractDeleteDTO extends BaseDTO {

    private static final long serialVersionUID = 1L;

    /**
     * 合同id
     */
    @ApiModelProperty(notes = "合同id")
    @NotNull(message = "合同id不能为空")
    private String id;

    /**
     * 是否是纸质合同
     */
    @ApiModelProperty(notes = "是否是纸质合同")
    @NotNull(message = "是否是纸质合同不能为空")
    private Boolean isEntity;


}

